impl Solution {
    pub fn min_bit_flips(start: i32, goal: i32) -> i32 {
        let mut a=start^goal;
        let mut ans=0;
        while a!=0 {
           if a&1==1{
            ans+=1
           } 
           a>>=1;
        }
        ans
    }
}
